<!DOCTYPE html>

<html>
<head>
    <title>#{get 'title' /}</title>
    <meta charset="utf-8">
    <link href="@{'/public/stylesheets/bootstrap.min.css'}" rel="stylesheet">
    <link href="@{'/public/stylesheets/bootstrap-responsive.min.css'}" rel="stylesheet">
#{get 'moreStyles' /}
    <script src="@{'/public/javascripts/jquery-1.8.2.min.js'}" type="text/javascript"></script>
#{get 'moreScripts' /}
</head>
<body>
<div class="navbar navbar-fixed-top">
    <div class="navbar-inner">
        <div class="container-fluid">
            <a class="brand" href="#">控制台</a>
            <div class="btn-group pull-right">
                <a class="btn dropdown-toggle" data-toggle="dropdown" href="@{Users.LoginOut}">
                    退出
                </a>
            </div>
            <div class="nav-collapse">
                <ul class="nav">
                    <li class="#{get 'userActive'/}">
                        <a href="@{Activities.ShowUser(0)}">用户管理</a>
                    </li>
                    <li class="#{get 'photoManageActive'/}">
                        <a href="@{Photos.addPhoto()}">图片管理</a>
                    </li>
                    <li class="#{get 'articleActive'/}">
                        <a href="@{Articles.showArticle(1,0)}">文章管理</a>
                    </li>
                    <li class="#{get 'recommendActive'/}">
                        <a href="@{Recommends.ShowRecommedList()}">轮播管理</a>
                    </li>
                    <li class="#{get 'typeActive'/}">
                        <a href="@{Types.index}">类型管理</a>
                    </li>
                    <li class="#{get 'activitydActive'/}">
                        <a href="@{Activities.index}">活动管理</a>
                    </li>
                    <li class="#{get 'infodActive'/}">
                        <a href="@{Infos.editorLink(1)}">信息管理</a>
                    </li>
                    <li class="#{get 'adActive'/}">
                        <a href="@{Activities.ad()}">广告管理</a>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</div>

<div class="container">
<div style="position: absolute; top:100px;">
#{include 'include/alertMsg.html'/}
</div>
#{doLayout /}
 <hr>
<footer></footer>

</div>

</body>
</html>
